<html>
<table align="center" width="90%" border="1" cellspacing="0" style="table-layout:fixed; border-collapse:collapse; border-color:gray"><tr><td>数据源</td><td>城市</td><td>关键字</td>结果</td></tr>
<?
phpinfo();
exit();
$db_host = '168.160.192.228';
$db = 'meta_search';
$db_user = 'zjxia';
$db_password = 'bblovebb';
$db_conn = mysql_connect($db_host, $db_user, $db_password);
mysql_select_db($db, $db_conn);
$sql = 'select domain, city, query, title, url from snapshot';
$resullt = mysql_query($sql);
while($row = mysql_fetch_array($result)) {
	$domain = $row[0];
	$city = $row[1];
	$query = $row[2];
	$title = $row[3];
	$url = $row[4];
	echo "<tr><td>$domain</td><td>$city</td><td>$query</td><td><a href=\"$url\" target=\"_blank\">$title</a></td></tr>";
}
?>
</table></html>
